//---------------------------------------------------------------------------

#ifndef h_progressbarH
#define h_progressbarH
//---------------------------------------------------------------------------

class HProgressBar : public TGraphicControl
{
public :
   __fastcall HProgressBar(Classes::TComponent* AOwner)
      : TGraphicControl(AOwner),
        FRate(0), FShowFlag(false)
   {}
   virtual void __fastcall Paint(void);
   __property int Rate = { write = SetRate };
   __property bool ShowFlag = { write = SetShowFlag };

private :
   void __fastcall SetRate(int ARate);
   void __fastcall SetShowFlag(bool AShowFlag);
   int FRate;
   bool FShowFlag;
};

#endif
